import { defHttp } from "/@/utils/http/axios"

export enum Api {
  list = "/system-service/user/queryByOrgCodeForAddressList",
  positionList = "/system-service/position/listPage",
  queryDepartTreeSync = "/system-service/dept/listTreeSync",
}
/**
 * 获取部门树列表
 */
export const queryDepartTreeSync = (params?) => defHttp.get({ url: Api.queryDepartTreeSync, params })
/**
 * 部门用户信息
 */
export const list = (params?) => defHttp.get({ url: Api.list, params })
/**
 * 职务list
 */
export const positionList = (params?) => defHttp.get({ url: Api.positionList, params })
